Utils\ShipanyHelper D

Total Complexity 235
Dependencies 11
Dependents 10
Total lines 997
Lines of code 860
Logical lines of code 453
Comment lines 60
Methods 30
Properties 7

Methods 30

Method Rating Maintainability Complexity Lines of code
build_shipany_order_payload()
D
16
60 238
get_latest_locker_list()
D
31 38 95
build_for_create_order()
A
42 12 47
calculate_order_weight()
A
46 12 36
unparse_url()
A
58 11 12
query_rate()
A
53 10 22
create_order()
A
40 7 63
getApiUrlAndRealTk()
A
49 9 29
_create_order()
S
55 7 19
get_supported_storage_types()
S
49 6 32
get_cloudflare_url()
S
51 6 25
get_tracking_note()
S
53 6 20
better_wc_price()
S
53 5 22
get_couriers()
S
59 5 15
get_courier_service_location()
S
61 4 12
get_courier_service_point_locations()
S
61 4 12
get_all_order_status()
S
45 1 45
extractApiKeyEnvironment()
S
60 3 14
get_tracking_note_by_order_id()
S
60 3 13
get_tracking_url_by_order_id()
S
62 3 11
__construct()
S
55 2 18
get_merchant_info()
S
65 3 9
get_wc_payments_localization_service()
S
70 3 6
getRegions()
S
68 3 7
get_tracking_url()
S
62 3 10
get_settings()
S
74 2 4
getInstance()
S
71 2 6
convert_wc_weight_to_kg()
S
66 2 8
get_tracking_note_type()
S
69 2 7
get_shipany_label_file_info()
S
79 1 3